import Vue from 'vue'
import vueRouter from 'vue-router'
import Index from './components/index/Index.vue'
import Error404 from './components/error404.vue'
import Show from './components/testpage/showpage.vue'

Vue.use(vueRouter)

let router = new vueRouter({
  routes: [
    {path: '/', component: Index},
    {path: '/result', component: Show},
    {path: '*', component: Error404}
  ]
})

export default router
